package com.yc.oop3;

public class Test1 {
	public static void main(String[] args) {
		Student s1 = new Student();
		s1.sno = 10000;
		s1.name = "张三";
		s1.gender = "男";
		
		//s1.money = 3.14;
		//买了一瓶可乐,付3块钱
		s1.pay(3);
		
		s1.showMoney();
	}
}
